package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.SendSMSResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface SendSMSRequest {
    @FormUrlEncoded
    @POST("send_sms")
    Observable<BaseModel<SendSMSResponse>> getResult(@Field("e164") String e164,
                                                     @Field("forgot_pass") String forgot_pass,
                                                     @Field("areacode") String areacode);
}
